#ifndef RELAY_H__
#define RELAY_H__

#define JOB_MAX 1024

enum
{
    STATE_RUNNING = 1,
    STATE_CANCELED,
    STATE_OVER,
};

int relay_addjob(int fd1, int fd2);

void relay_wait();
#endif